package jian.thread.newbie;

public class TestNothing {

	public static void main(String[] args) {
		Thread sub = new Thread(new Runnable() {

			@Override
			public void run() {
				try {
					Thread.sleep(5000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				System.out.println("I am Sub");
			}
		});
		sub.start();
		try {
			Thread.sleep(10000);
		} catch (InterruptedException e1) {
			e1.printStackTrace();
		}

		System.out.println("I am Main");
	}
}
